/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package org.fh.itsbankomat.webservices;

import javax.ejb.EJB;
import javax.jws.WebService;
import javax.ejb.Stateless;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import org.fh.itsbankomat.businesslogic.api.BankomatSystemService;
import org.fh.itsbankomat.businesslogic.model.Transaktionen;

/**
 *
 * @author MeinLaptop
 */
@WebService(serviceName = "BankomatServiceImplWS")
@Stateless()
public class BankomatServiceImplWS {
    @EJB
    private BankomatSystemService ejbRef;// Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Web Service Operation")

    @WebMethod(operationName = "pruefenBankomatKarte")
    public Transaktionen pruefenBankomatKarte(@WebParam(name = "v_Transaktion") Transaktionen v_Transaktion) {
        return ejbRef.pruefenBankomatKarte(v_Transaktion);
    }

    @WebMethod(operationName = "freigebenAuszahlung")
    public Transaktionen freigebenAuszahlung(@WebParam(name = "v_Transaktion") Transaktionen v_Transaktion) {
        return ejbRef.freigebenAuszahlung(v_Transaktion);
    }

    @WebMethod(operationName = "abbrechen")
    public Transaktionen abbrechen(@WebParam(name = "v_Transaction") Transaktionen v_Transaction) {
        return ejbRef.abbrechen(v_Transaction);
    }
    
}
